/* 
 * @ThucNV
 * @26-08-2013
 * @ AZDesign file
 */
jQuery(window).load(function() {
//Disable right mouse
    //jQuery(document).bind("contextmenu", function(e) {
        //e.preventDefault();
    //});
//Slider
    jQuery("#nivo-slider").nivoSlider({slices: 16, boxCols: 16, boxRows: 8, effect: "random", animSpeed: 500, pauseTime: 5000, pauseOnHover: true, beforeChange: function() {
            jQuery(".nivo-caption").css({"left": "-480px"});
        }, afterChange: function() {
            jQuery(".nivo-caption").animate({"left": "0"}, 500);
        }, afterLoad: function() {
            jQuery("#nivo-slider").removeClass("loading");
        }});
//Load image slow
    jQuery("img.lzl").lazyload({
        threshold: 50,
        effect: "fadeIn",
    });


});


